<template>
  <div class="home">
    <HelloWorld>
      <template>
        <p>默认插槽</p>
      </template>
      <template v-slot:title>
        <p>具名插槽</p>
      </template>
      <template v-slot:item="props">
        <p>{{ props.value }}</p>
      </template>
    </HelloWorld>
  </div>
</template>

<script>
// @ is an alias to /src
import HelloWorld from "@/components/HelloWorld.vue";

export default {
  name: "slot_",
  components: {
    HelloWorld
  }
};
</script>
